package com.epalmpay.service.shopaccount.impl;

import com.epalmpay.mapper.ShopAccountMapper;
import com.epalmpay.service.shopaccount.IShopAccountService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/11/24.
 */
@Service("shopAccountService")
public class ShopAccountServiceImpl implements IShopAccountService{

    @Resource
    private ShopAccountMapper shopAccountMapper;

    @Override
    public List<Map> getAccountMonthList(Map map) throws Exception {
        return shopAccountMapper.queryShopAccountMonth(map);
    }

    @Override
    public List<Map> getAccountDayList(Map map) throws Exception {
        return shopAccountMapper.queryShopAccountDay(map);
    }

    @Override
    public List<Map> getAccountList(Map map) throws Exception {
        return shopAccountMapper.queryShopAccountList(map);
    }
}
